SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42012a347420c81fa08fb70764efa04d87a89ce35b718f6bd8d46fd3cc53d694' 
  AND token = 'c1z5CN04ScrQVeLwOdEt/cYieiUYTbKOnx+8mwzTVxw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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