SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9f959b571ae352c7f3b81a4e91db92f864c05aceb122c8ba635a3aeeba0c597' 
  AND token = 'C7UsvQDx5xFcpOezdcJsYQVDAlEtqMsyStvwINL0EeM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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