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

Query time 0.00032

JSON explain

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