SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74cd0c3ce02e1293c0444763d85c446e709129fbdc1893762439857e4e07b01f' 
  AND token = 'rtS0N8Tc+3c2mSv2Uym8TsmVe/ToVoPfoQ/TRn6imt4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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