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

Query time 0.00028

JSON explain

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