SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1dc80784b9881b446dbc04a518fe1b73157adff1f2f8fa64cfeef8c5724f9a12' 
  AND token = 't1Rk/gY6mspopeovQqa7GwbIf9YXir0107p0oqWxxFU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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