SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '954d1f8dd136d228213f9a425f1fd5aa899ad6c090cdde46b9b11ccc8a7c17fc' 
  AND token = 'aKKnT7Fd/ZQVLcy6WfpOmOdY5IgiDDXBWmnUjGlqFyA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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