SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd288be6fb91cd674610fbec4de8bf7b44b99f5a2c5e7ec74139e5005abd77c2f' 
  AND token = 'EJnlrHYbEQhJDqpK1Bs3eklUgBdHnA6KE4Nx5Pkzuyg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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