SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b311dc6a704feed5a793a0daf6ccbf245ee81825f80c4409e74216f247767e0c' 
  AND token = 'hdJYvzATAHKw4AjyQiY/49bVKjX7tH+xk55W4xpMq74=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}