SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5a9090462c9bbf9b6fffd0d2065868d99f54513a23a0f477753bd83c81d0c7a' 
  AND token = 'bOne1pp1ciyUyf3/RNGXAWuQvI9zIb3DaeIYqTvmmQQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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