SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b23574be8d5dde4270471c2a004c32b2e45df15cbf68a337b7383885c9adf116' 
  AND token = 'GG+oe+/JSs0hz7BEg3csQuTUQH8lC490dx3gQLWFNK8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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