SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bef38b2b0a962fe0b7464193e966f48123bee9d94267267b05a5e29062c0d14c' 
  AND token = 't5NGHKccp1e5tO1GbBDUQKn/y4DC3Wdo0mjQrUasuxE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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