SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0fa0171ecc22aa3a945c517f45cbc572feb8c3ee774fe2e6fc35514f5aec032' 
  AND token = 'KPzpTiVtLXEhZlrd1ll/uF/xy2/RlHcz5U1Jg4XemzI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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