SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd061eac66a4b140fa8164a1c5a571703ecaced467fa06edbd2c37e2f8e06294d' 
  AND token = 'S1zL8iVeDcCtOO6wh4gEUalv6kanUJyo41sHvNGE+v8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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