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

Query time 0.00038

JSON explain

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