SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51def3e9fb332c2829c1b1c11f6a721c4a11d6fe5d071879e98b57ba9136fd30' 
  AND token = 'e2ileQfEYuAMf95wsApSZ8bEFg9O9ytlpJXvKLqQsLM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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