SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5eab5e4e7b18e4d5673432c86260a6d36164ba00a55ef5d486246a01e8239ab' 
  AND token = '7poJ9IRtsrix2YyN+T43WinszDtk/5YldETL0Ek5AlE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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