SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ef8420d9f56107132c0055571ac5f575151ea8d35e47f192fbe2b315dece32b' 
  AND token = 'aoZErNkdaJI361/5B3swFaF7yT0b+L7deaJV4lq68hY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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