SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b0ba887ea4aae25e1b85c291a14406f8b876356e2552aa1726846515750aa8b2' 
  AND token = 'BSSBu1oGfhfrut6WepZkcN3bdJv6e+xSmK9E7oM0x4c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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