SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42538253523d13709e58e197c4ef815df7c71816e087f61c9aab3c67decd057e' 
  AND token = 'o8NdO36bPpcT02DjKn/aiLl12FgXYNJOQ7+Ka8EzVt4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}