SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ba7038323334d6b4b7ccbe0fcc5b38104b92edb9f526f28f7c37556f468840e' 
  AND token = 'Qs8MsQS/t6Ssz27xPa2B/wEGlDvKK3DGGfQHX+sPbi8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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