SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9798f4c97707db1b84317955565efa8bba3afd80995575998cb60d5224decd1' 
  AND token = 'ZsRJy1kV12YLAcKJ6xVuFkoP4TZhY33cdduUxgxYiMk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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