SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c7756afabd8e95c0e7036ba0b5e34e0cc65e511b2d53a742581950b0188ed2c' 
  AND token = 'bB9jfY7t0NQKA+SK7Rr1KDrZpn5M5I0l0Zdo8+cK2uA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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