SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '86fa63cd7af37c146045aadda464a435f756a02eceb2a74a062a6c9a1ab2666b' 
  AND token = 'NvmgHxWTEjHqj7Y8sCFDlc1PxbSDQfYoA/6lyIBbcaw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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