SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f5c569b4c445dc5e3fc933b38ff1562e3782529ae9408e85d5080bc5e19f5ed' 
  AND token = 'Lv7Zx8i5BjNaoyafM+Qrtyi7Sb++CaVDcQaF2lQ7Ptw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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