SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2e2bb3e7d430071a759b2cc5d31deee2787989ab4e268158bf333041f311969' 
  AND token = 'PezL+ACx0hz3q7hPCBWlYX3DmlVC94qH3JuDIgy8Gd4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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