SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ebe5b6093ea6844cdf016be6dc52bf2a9255f352528ffaca212e140de06e18c' 
  AND token = 'V5yK0Zj3E/yAPIBJv65bwP5FCq6+Cx8XzGsNK9nHAc8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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