SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a74d7f367d80e0923c64d0450e0961a2dde38cf9827eb07b52d4e347a59bcbc5' 
  AND token = '7dYB07FaVQSGAAEGng7IT4oh3aBrwGPfzF5Z1HNWfhs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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