SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7597759aae1f3755889fea4d0cd816070e70368ccf476a76e59b19e6d1499a9a' 
  AND token = 'pta2sNoTW2Z0+O/5glDXumOZwWSyvn37uOu1BqwSRrg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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