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

Query time 0.00034

JSON explain

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