SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '258281931761433824242ef4deb60eb2ca8bd0c6db597a786fab84b48febd9d7' 
  AND token = 'JP3fdjaQTybr4x9tAERKByZNJTTjI1Ix+7WVx2bbwoI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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