SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa471e45d2d6f28abebdcf2f8cdf90b6a21681981cf2965d40af8c70a013cac3' 
  AND token = 'AxUCgZgmOZ9ZMOolA5E1RHDC7VaP/7tMhe5dNCgx1Hk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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